package com.x.erp.rpc;

import com.x.erp.model.InsuranceOrder;
import com.x.framework.rpc.BaseRpcService;

import java.util.List;

/**
 * 延保商品订单服务
 */
public interface InsuranceOrderRpcService extends BaseRpcService {

	/**
	 * 获取延保商品订单列表
	 *
	 * @param insuranceOrder
	 * @return
	 */
	public List<InsuranceOrder> selectInsuranceOrderList(InsuranceOrder insuranceOrder);

	/**
	 * 获取延保商品订单数量
	 *
	 * @param insuranceOrder
	 * @return
	 */
	public int selectInsuranceOrderNum(InsuranceOrder insuranceOrder);


	/**
	 * 获取单个延保商品订单信息
	 *
	 * @param insuranceOrder
	 * @return
	 */
	public InsuranceOrder selectInsuranceOrder(InsuranceOrder insuranceOrder);

	/**
	 * 新增延保商品订单信息
	 *
	 * @param insuranceOrder
	 * @return
	 */
	public InsuranceOrder insertInsuranceOrder(InsuranceOrder insuranceOrder);

	/**
	 * 删除延保商品订单信息
	 *
	 * @param insuranceOrder
	 * @return
	 */
	public int deleteInsuranceOrder(InsuranceOrder insuranceOrder);

	/**
	 * 修改延保商品订单信息
	 *
	 * @param insuranceOrder
	 * @return
	 */
	public int updateInsuranceOrder(InsuranceOrder insuranceOrder);
}
